<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <title></title>
    <link rel="stylesheet" href="../../javascript/plug-ins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/style.css" />
    <script src="../../javascript/jquery.js"></script>
    <script type="text/javascript" src="../../javascript/plug-ins/layui/layui.js"></script>
    <script src="../../js/zyrfunction.js?v=2"></script>
    <script src="../../js/zyrpublic.js?v=2"></script>
    <script src="js/GoldList.js?v=1.322"></script>


</head>
<body>
<div class="page-wrap">
    <section class="page-hd t">
        <header>
            <h5 class="title">
                <a href="#" class="red">金币设置</a>
            </h5>
        </header>
        <hr>
    </section>

    <div class="panel panel-default">
        <div class="form-content">
            <form>
                <div class="form-group-col-2">
                    <!--<div class="form-label">金币设置：</div>-->
                    <div class="form-cont">
                        <input type="button" class="btn btn-info add_rulesbtn margin_buttom10" value="+新增" />
                        <div class="AddgoldList" id="rules_old"></div>
                    </div><!--form-cont--->
                </div><!--form-group-col-2---->
                <div class="form-group-col-2">
                    <div class="form-label"></div>
                    <div class="form-cont">
                        <input type="button" value="提交" class="btn btn-info" onclick="SubmitInfo()"/>
<!--                        <input type="button" value="返回" class="btn btn-danger" onclick="re()" />-->
                    </div>
                </div>
            </form>
        </div><!--form--->
    </div><!---panel--->

</div><!---page-wrap------>
</body>
</html>
<script>
    //累加套餐
    let goldList = '<div class="rules margin_buttom10 display_table">' +
                    '<div class="float_left">' +
                        '<span class="margin_right10">天数</span><input type="text" value="0"  class="form-control form-boxed width20 days" /><span></span>' +
                        '<span class="margin_right10"> 获得金币数量</span><input type="number" value="0" step="1" class="form-control form-boxed width20 getgold" /><span></span>' +
                        '<span class="margin_right10"> 奖励金币数量</span><input type="number"value="0"  step="1" class="form-control form-boxed width20 rewgold" /><span></span>' +
                    '</div>' +
                    '<div class="float_left padding6 bg_red" onclick="icon_remove(this)"><i class="icon-remove"></i></div>' +
                '</div>';

    function icon_remove(r) {
        $(r).parent().remove();
    }
</script>
